package com.spring.demo.model.user;

import java.io.Serializable;
import java.sql.Timestamp;

public class User implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long id;
	
	private String userName;
	
	private String passWord;
	
	/**
	 * 人员类型0/1:普通员工/管理员
	 */
	private Integer type;
	
	/**
	 * 是否在线0/1：否/是
	 */
	private Boolean isOnline;
	
	/**
	 * 上级
	 */
	private Long leader;
	
	/**
	 * 年龄
	 */
	private Integer age;
	
	/**
	 * 最后登录时间
	 */
	private Timestamp lastLoginTime;
	
	/**
	 * 0/1:在用/删除
	 */
	private Integer dr;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	
	public Boolean getIsOnline() {
		return isOnline;
	}

	public void setIsOnline(Boolean isOnline) {
		this.isOnline = isOnline;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getDr() {
		return dr;
	}

	public Long getLeader() {
		return leader;
	}

	public void setLeader(Long leader) {
		this.leader = leader;
	}

	public void setDr(Integer dr) {
		this.dr = dr;
	}

	public Timestamp getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Timestamp lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	
}
